package server

import "net/http"

// Server 定义一个服务的接口
type Server interface {

	// AddRouter 添加路由
	AddRouter(method string, pattern string, handlerFunc func(c *HttpContext))

	// Start 启动方法
	Start(port string) error
}

type Handler interface {
	http.Handler
}
